//
//  NotifyingClass.m
//  TextApp
//
//  Created by panos on 16/11/10.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "NotifyingClass.h"

@implementation NotifyingClass

- (IBAction)displaySomeText:(id)sender
{
	[textView insertText:
	 [NSString stringWithFormat:
	  @"The circumference is: %f\n",[self generateValue]]];	
}

- (float)generateValue
{
	MathUtilities *test1 = [[MathUtilities alloc] init];
	float x;
	
	x= [test1 circumferenceFromRadius: [textField floatValue]];
	
	[test1 release];
	
	return x;
}

@end
